from quote.db.dbhandle import DbHandle


class DbCustomer:

    def __init__(self):
        self.db_handle=DbHandle()

    def delete_customer(self,customerNo):
        self.db_handle.update_query('delete from tb_customer where customerNO=%s',customerNo)


if __name__=='__main__':
    db_customer=DbCustomer()
    db_customer.db_handle.update_query('update tb_customer set customerName=%s where customerNo=%s',['张锋','001'])